﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="NewProducts.aspx.cs" Inherits="SES.CMS.NewProducts" %>

<%@ Register TagPrefix="cp" Namespace="SiteUtils" Assembly="CollectionPager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="content">
        <div class="contentright">
            <div class="newproduct">
                <div class="heading">
                    <div class="heading1">
                        <h2 class="heading2">
                            Sản phẩm mới</h2>
                    </div>
                </div>
                <div class="foo-news">
                    <asp:Repeater runat="server" ID="rptNewProduct">
                        <ItemTemplate>
                            <div class="product">
                                <div class="product-inner">
                                    <a class="a-hover" href='/<%#FriendlyUrl(Eval("ProductCategoryTitle").ToString()) %>/<%#FriendlyUrl(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                                        title='<%#Eval("ProductTitle") %>'>
                                        <img src='<%#SES.CMS.Ultility.TopbikeDomain()%>/Media/Thumbnail/<%#Eval("Thumbnail")%>'
                                            alt='<%#Eval("ProductTitle") %>' title='<%#Eval("ProductTitle") %>' />
                                    </a>
                                    <div class="product-detail-x">
                                        <div class="product-no-promotion">
                                            <p class="hidden p-title">
                                                <%#Eval("ProductTitle") %></p>
                                            <p class="hidden p-price">
                                                <%#SES.CMS.Ultility.GetPrice(Eval("ProductID")) %>
                                        </div>
                                        <div class="action-product">
                                            <div class="product-button">
                                                <a href='/<%#FriendlyUrl(Eval("ProductCategoryTitle").ToString()) %>/<%#FriendlyUrl(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                                                    title='<%#Eval("ProductTitle") %>' class="detail-product">Chi tiết</a>
                                                <input type="button" id="btnCart" class="h-btn-cart" onclick="updateCart(<%#Eval("ProductID")%>,1); return false;" />
                                            </div>
                                        </div>
                                    </div>
                                    <span class="promotion-product-span">MỚI</span>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <div class="collection">
                    <cp:CollectionPager LabelText="" FirstText="&amp;nbsp;&amp;nbsp;<<" BackText="< &amp;nbsp;"
                        LastText=">>" NextText=">" ShowFirstLast="True" ControlCssClass="collectionpager"
                        PagingMode="PostBack" runat="server" BackNextLinkSeparator="" BackNextLocation="Split"
                        PageNumbersDisplay="Numbers" ResultsLocation="None" BackNextDisplay="HyperLinks"
                        ID="CollectionPager1" BackNextButtonStyle="" BackNextStyle="margin-left:5px;"
                        ControlStyle="" PageNumbersSeparator="&amp;nbsp;">
                    </cp:CollectionPager>
                    <div class="collectPage">
                    </div>
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
    </div>
</asp:Content>
